package book.java8.char11;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author study
 * @version 1.0
 * @date 2021/1/5 16:37
 */
public class Demo {
    public static void main(String[] args) {
        CompletableFuture.runAsync(() -> {
            System.out.println(12);

        });
        final int i = Runtime.getRuntime().availableProcessors();
        System.out.println(i);
        final ConcurrentHashMap map = new ConcurrentHashMap<String, Boolean>();

    }
}
